﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2023-03-28 20:22
    /// 描 述：功能模块实体类
    /// </summary>
    [Table("module_category")]
    public class ModuleCategoryEntity : BaseEntity
    {
        /// <summary>
        /// 功能分类名称
        /// </summary>
        /// <returns></returns>
        public string module_category_name { get; set; }
        /// <summary>
        /// 功能路径
        /// </summary>
        /// <returns></returns>
        public string module_category_path { get; set; }
        /// <summary>
        /// 功能分类iocn
        /// </summary>
        /// <returns></returns>
        public string module_category_iocn { get; set; }
        /// <summary>
        /// 1禁用 0开启
        /// </summary>
        /// <returns></returns>
        public byte? module_category_status { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? create_time { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(DateTimeJsonConverter))]
        public DateTime? modified_time { get; set; }

        public int type { get; set; }

        public string source { get; set; }
    }
}
